package com.applet.mallappletbackstage.service;

import com.applet.mallappletbackstage.entity.WorkType;
import com.applet.mallappletbackstage.entity.vo.WorkTypeVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2020-07-31
 */
public interface WorkTypeService extends IService<WorkType> {

    /***
     * 保存工作种类
     * @param workTypeVO
     * @return
     */
    int saveWorkType(WorkTypeVO workTypeVO);

    /***
     * 通过id获取工作类型
     * @param id
     * @return
     */
    WorkType getWorkTypeOne(Integer id);
}
